package com.ys.entity.storage;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCC_FbaPlanItem", catalog="Id")
public class TccFbaPlanItem extends BaseEntity<TccFbaPlanItem> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="BidFbaPlan", nameJava="bidFbaPlan", typeDataBase="varchar")
	private String bidFbaPlan;
	@YsField(nameDataBase="CommodityCode", nameJava="commodityCode", typeDataBase="varchar")
	private String commodityCode;
	@YsField(nameDataBase="CommodityName", nameJava="commodityName", typeDataBase="varchar")
	private String commodityName;
	@YsField(nameDataBase="Sku", nameJava="sku", typeDataBase="varchar")
	private String sku;
	@YsField(nameDataBase="NumStock", nameJava="numStock", typeDataBase="int")
	private Integer numStock;
	@YsField(nameDataBase="NumPlanDeliver", nameJava="numPlanDeliver", typeDataBase="int")
	private Integer numPlanDeliver;
	@YsField(nameDataBase="NumRealityBox", nameJava="numRealityBox", typeDataBase="int")
	private Integer numRealityBox;
	@YsField(nameDataBase="NumApiDeliver", nameJava="numApiDeliver", typeDataBase="int")
	private Integer numApiDeliver;
	@YsField(nameDataBase="IsSign", nameJava="isSign", typeDataBase="varchar")
	private String isSign;
	@YsField(nameDataBase="SignCode", nameJava="signCode", typeDataBase="varchar")
	private String signCode;
	@YsField(nameDataBase="Asin", nameJava="asin", typeDataBase="varchar")
	private String asin;
	@YsField(nameDataBase="FnSku", nameJava="fnSku", typeDataBase="varchar")
	private String fnSku;
	@YsField(nameDataBase="CodeGoodsHs", nameJava="codeGoodsHs", typeDataBase="varchar")
	private String codeGoodsHs;
	@YsField(nameDataBase="NameGoodsCn", nameJava="nameGoodsCn", typeDataBase="varchar")
	private String nameGoodsCn;
	@YsField(nameDataBase="NameMaterialCn", nameJava="nameMaterialCn", typeDataBase="varchar")
	private String nameMaterialCn;
	@YsField(nameDataBase="NameUnitCn", nameJava="nameUnitCn", typeDataBase="varchar")
	private String nameUnitCn;
	@YsField(nameDataBase="PriceIn", nameJava="priceIn", typeDataBase="decimal")
	private BigDecimal priceIn;
	@YsField(nameDataBase="LengthPackage", nameJava="lengthPackage", typeDataBase="decimal")
	private BigDecimal lengthPackage;
	@YsField(nameDataBase="WidthPackage", nameJava="widthPackage", typeDataBase="decimal")
	private BigDecimal widthPackage;
	@YsField(nameDataBase="HeightPackage", nameJava="heightPackage", typeDataBase="decimal")
	private BigDecimal heightPackage;
	@YsField(nameDataBase="WeightPackage", nameJava="weightPackage", typeDataBase="decimal")
	private BigDecimal weightPackage;
	@YsField(nameDataBase="Vck", nameJava="vck", typeDataBase="varchar")
	private String vck;
	@YsField(nameDataBase="Vkq", nameJava="vkq", typeDataBase="varchar")
	private String vkq;
	@YsField(nameDataBase="Vhw", nameJava="vhw", typeDataBase="varchar")
	private String vhw;
	@YsField(nameDataBase="Chw", nameJava="chw", typeDataBase="varchar")
	private String chw;
	@YsField(nameDataBase="DeclarationItemState", nameJava="declarationItemState", typeDataBase="tinyint")
	private Integer declarationItemState;
	@YsField(nameDataBase="StockControlId", nameJava="stockControlId", typeDataBase="bigint")
	private Long stockControlId;
	@YsField(nameDataBase="AnnexFile", nameJava="annexFile", typeDataBase="varchar")
	private String annexFile;
	@YsField(nameDataBase="Img", nameJava="img", typeDataBase="varchar")
	private String img;
	@YsField(nameDataBase="AmazonShopProductId", nameJava="amazonShopProductId", typeDataBase="bigint")
	private Long amazonShopProductId;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TccFbaPlanItem setId(Long id) {
		this.id = id;
		return this;
	}
	public String getBidFbaPlan() {
		return bidFbaPlan;
	}
	public TccFbaPlanItem setBidFbaPlan(String bidFbaPlan) {
		this.bidFbaPlan = bidFbaPlan;
		return this;
	}
	public String getCommodityCode() {
		return commodityCode;
	}
	public TccFbaPlanItem setCommodityCode(String commodityCode) {
		this.commodityCode = commodityCode;
		return this;
	}
	public String getCommodityName() {
		return commodityName;
	}
	public TccFbaPlanItem setCommodityName(String commodityName) {
		this.commodityName = commodityName;
		return this;
	}
	public String getSku() {
		return sku;
	}
	public TccFbaPlanItem setSku(String sku) {
		this.sku = sku;
		return this;
	}
	public Integer getNumStock() {
		return numStock;
	}
	public TccFbaPlanItem setNumStock(Integer numStock) {
		this.numStock = numStock;
		return this;
	}
	public Integer getNumPlanDeliver() {
		return numPlanDeliver;
	}
	public TccFbaPlanItem setNumPlanDeliver(Integer numPlanDeliver) {
		this.numPlanDeliver = numPlanDeliver;
		return this;
	}
	public Integer getNumRealityBox() {
		return numRealityBox;
	}
	public TccFbaPlanItem setNumRealityBox(Integer numRealityBox) {
		this.numRealityBox = numRealityBox;
		return this;
	}
	public Integer getNumApiDeliver() {
		return numApiDeliver;
	}
	public TccFbaPlanItem setNumApiDeliver(Integer numApiDeliver) {
		this.numApiDeliver = numApiDeliver;
		return this;
	}
	public String getIsSign() {
		return isSign;
	}
	public TccFbaPlanItem setIsSign(String isSign) {
		this.isSign = isSign;
		return this;
	}
	public String getSignCode() {
		return signCode;
	}
	public TccFbaPlanItem setSignCode(String signCode) {
		this.signCode = signCode;
		return this;
	}
	public String getAsin() {
		return asin;
	}
	public TccFbaPlanItem setAsin(String asin) {
		this.asin = asin;
		return this;
	}
	public String getFnSku() {
		return fnSku;
	}
	public TccFbaPlanItem setFnSku(String fnSku) {
		this.fnSku = fnSku;
		return this;
	}
	public String getCodeGoodsHs() {
		return codeGoodsHs;
	}
	public TccFbaPlanItem setCodeGoodsHs(String codeGoodsHs) {
		this.codeGoodsHs = codeGoodsHs;
		return this;
	}
	public String getNameGoodsCn() {
		return nameGoodsCn;
	}
	public TccFbaPlanItem setNameGoodsCn(String nameGoodsCn) {
		this.nameGoodsCn = nameGoodsCn;
		return this;
	}
	public String getNameMaterialCn() {
		return nameMaterialCn;
	}
	public TccFbaPlanItem setNameMaterialCn(String nameMaterialCn) {
		this.nameMaterialCn = nameMaterialCn;
		return this;
	}
	public String getNameUnitCn() {
		return nameUnitCn;
	}
	public TccFbaPlanItem setNameUnitCn(String nameUnitCn) {
		this.nameUnitCn = nameUnitCn;
		return this;
	}
	public BigDecimal getPriceIn() {
		return priceIn;
	}
	public TccFbaPlanItem setPriceIn(BigDecimal priceIn) {
		this.priceIn = priceIn;
		return this;
	}
	public BigDecimal getLengthPackage() {
		return lengthPackage;
	}
	public TccFbaPlanItem setLengthPackage(BigDecimal lengthPackage) {
		this.lengthPackage = lengthPackage;
		return this;
	}
	public BigDecimal getWidthPackage() {
		return widthPackage;
	}
	public TccFbaPlanItem setWidthPackage(BigDecimal widthPackage) {
		this.widthPackage = widthPackage;
		return this;
	}
	public BigDecimal getHeightPackage() {
		return heightPackage;
	}
	public TccFbaPlanItem setHeightPackage(BigDecimal heightPackage) {
		this.heightPackage = heightPackage;
		return this;
	}
	public BigDecimal getWeightPackage() {
		return weightPackage;
	}
	public TccFbaPlanItem setWeightPackage(BigDecimal weightPackage) {
		this.weightPackage = weightPackage;
		return this;
	}
	public String getVck() {
		return vck;
	}
	public TccFbaPlanItem setVck(String vck) {
		this.vck = vck;
		return this;
	}
	public String getVkq() {
		return vkq;
	}
	public TccFbaPlanItem setVkq(String vkq) {
		this.vkq = vkq;
		return this;
	}
	public String getVhw() {
		return vhw;
	}
	public TccFbaPlanItem setVhw(String vhw) {
		this.vhw = vhw;
		return this;
	}
	public String getChw() {
		return chw;
	}
	public TccFbaPlanItem setChw(String chw) {
		this.chw = chw;
		return this;
	}
	public Integer getDeclarationItemState() {
		return declarationItemState;
	}
	public TccFbaPlanItem setDeclarationItemState(Integer declarationItemState) {
		this.declarationItemState = declarationItemState;
		return this;
	}
	public Long getStockControlId() {
		return stockControlId;
	}
	public TccFbaPlanItem setStockControlId(Long stockControlId) {
		this.stockControlId = stockControlId;
		return this;
	}
	public String getAnnexFile() {
		return annexFile;
	}
	public TccFbaPlanItem setAnnexFile(String annexFile) {
		this.annexFile = annexFile;
		return this;
	}
	public String getImg() {
		return img;
	}
	public TccFbaPlanItem setImg(String img) {
		this.img = img;
		return this;
	}
	public Long getAmazonShopProductId() {
		return amazonShopProductId;
	}
	public TccFbaPlanItem setAmazonShopProductId(Long amazonShopProductId) {
		this.amazonShopProductId = amazonShopProductId;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TccFbaPlanItem setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TccFbaPlanItem setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TccFbaPlanItem setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TccFbaPlanItem tccFbaPlanItem(
		String bidFbaPlan,
		String commodityCode,
		String commodityName,
		String sku,
		Integer numStock,
		Integer numPlanDeliver,
		Integer numRealityBox,
		Integer numApiDeliver,
		String isSign,
		String signCode,
		String asin,
		String fnSku,
		String codeGoodsHs,
		String nameGoodsCn,
		String nameMaterialCn,
		String nameUnitCn,
		BigDecimal priceIn,
		BigDecimal lengthPackage,
		BigDecimal widthPackage,
		BigDecimal heightPackage,
		BigDecimal weightPackage,
		String vck,
		String vkq,
		String vhw,
		String chw,
		Integer declarationItemState,
		Long stockControlId,
		String annexFile,
		String img,
		Long amazonShopProductId,
		Integer status
			) {
		TccFbaPlanItem entity = new TccFbaPlanItem();
		entity.setBidFbaPlan(bidFbaPlan);
		entity.setCommodityCode(commodityCode);
		entity.setCommodityName(commodityName);
		entity.setSku(sku);
		entity.setNumStock(numStock);
		entity.setNumPlanDeliver(numPlanDeliver);
		entity.setNumRealityBox(numRealityBox);
		entity.setNumApiDeliver(numApiDeliver);
		entity.setIsSign(isSign);
		entity.setSignCode(signCode);
		entity.setAsin(asin);
		entity.setFnSku(fnSku);
		entity.setCodeGoodsHs(codeGoodsHs);
		entity.setNameGoodsCn(nameGoodsCn);
		entity.setNameMaterialCn(nameMaterialCn);
		entity.setNameUnitCn(nameUnitCn);
		entity.setPriceIn(priceIn);
		entity.setLengthPackage(lengthPackage);
		entity.setWidthPackage(widthPackage);
		entity.setHeightPackage(heightPackage);
		entity.setWeightPackage(weightPackage);
		entity.setVck(vck);
		entity.setVkq(vkq);
		entity.setVhw(vhw);
		entity.setChw(chw);
		entity.setDeclarationItemState(declarationItemState);
		entity.setStockControlId(stockControlId);
		entity.setAnnexFile(annexFile);
		entity.setImg(img);
		entity.setAmazonShopProductId(amazonShopProductId);
		entity.setStatus(status);
		return entity;
	}
}